package onlinebanking.server;

public class DataObject {
	private SimpleServer server;
	private String recentMessage;
	private String[] bankAccounts;
	private String[] personalAccounts;
	
	protected DataObject(SimpleServer server) {
		this.server = server;
		this.recentMessage = null;
		this.bankAccounts = null;
		this.personalAccounts = null;
	}
	
	public String getRecentMessage() {
		return this.recentMessage;
	}
	
	public String[] getBankAccounts() {
		return this.bankAccounts;
	}
	
	public String[] getPersonalAccounts() {
		return this.personalAccounts;
	}
	
	public void setRecentMessage(String recentMessage) {
		this.recentMessage = recentMessage;
	}
	
	public void setBankAccounts(String[] bankAccounts) {
		this.bankAccounts = bankAccounts;
	}
	
	public void setPersonalAccounts(String[] personalAccounts) {
		this.personalAccounts = personalAccounts;
	}
	
	
}
